<!DOCTYPE html>
<html>
<head>
	<title>{if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}</title>
	<meta name="keywords" content="{$SEO['keyword']}">
    <meta name="description" content="{$SEO['description']}">
	<link rel="stylesheet" type="text/css" href="{CSS_PATH}dianjing/index.css">
	<link rel="stylesheet" type="text/css" href="{CSS_PATH}dianjing/flexslider.css">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />

     <script src="http://haiqiancun.com/file/demo/custom.modernizr.js"></script>  
</head>
<body>
<!-- <a href="http://www.chinaz.com/game/esports/"></a> -->
<div class='header'>
	<div class="container " style="">
		<div class='logo fl'>
			<a href=""><img src="{IMG_PATH}dianjing/logo.png"></a>
		</div>
		<div class='nav fr'>
			<ul class='fr'>
				{loop subcat(0,0,0,$siteid) $v}
                {php $child=subcat($v['catid'],0,0,$siteid)}
				{if $v['catid']!=7}
                <li class='fl'>
				<a href="{$v['url']}">{$v['catname']}{if count($child)>0}<i class='corner icon'></i>{/if}</a>
				{if count($child)>0}
                <dl>
                	{loop $child $vv}
                	<dt><a href="{$vv['url']}">{$vv['catname']}</a></dt>
                	{/loop}
                </dl>
				{/if}
				
			</li>

				{/if}
				{/loop}
				<div class='fl' style="position:relative;width:200px">
					<form action="{APP_PATH}index.php" method="get" target="_blank">
				<input type="hidden" name="m" value="search"/>
				<input type="hidden" name="c" value="index"/>
				<input type="hidden" name="a" value="init"/>
				<input type="hidden" name="typeid" value="1" id="typeid"/>
				<input type="hidden" name="siteid" value="1" id="siteid"/>
                <input placeholder='输入搜索内容.....' class='search fr' name='q'>
				<input type='submit'class='search-button fl' value="Go">
            </form>
					
				</div>
				<!-- <li class='fl' style="">
				<a href="">首页<i class='corner icon'></i></a>
                <dl>
                	<dt><a href="">wang</a></dt>
                	<dt><a href="">英雄联盟</a></dt>
                	<dt><a href="">英雄联盟</a></dt>
                	<dt><a href="">英雄</a></dt>
                </dl>
				</li>
				<li class='fl'>
				<a href="">首页<i class='corner icon'></i></a></li>
               <li class='fl'>
				<a href="">首页<i class='corner icon'></i></a></li> -->
			</ul>
		</div>
	</div>
</div>
<div class="position word" style="">
	
	<div class='container' style="text-algin:left">
		<span class='fl'>
			<i class='icon icon-home'></i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;当前位置:
		</span>&nbsp;&nbsp;&nbsp;
		<a href="{siteurl($siteid)}">网站首页</a>
		<span>></span>
		<!-- <a href="#">电竞游戏</a>
		<span>></span> -->
		{catpos($catid)}
		{if $_GET['a']=='show'}
		<span>正文</span>
        {elseif $_GET['c']=='tag'}
        <span>标签</span>
        {elseif $_GET['m']=='search'}
        <span>搜索结果</span>
		{/if}
	</div>
</div>
<!-- <div class='search'>
	
	<div class='search-mask'></div>

	<div class='search-main'>
	<a href="javascript:void(0)" class='fr'>x</a>
		
		<form action="{APP_PATH}index.php" method="get" target="_blank">
				<input type="hidden" name="m" value="search"/>
				<input type="hidden" name="c" value="index"/>
				<input type="hidden" name="a" value="init"/>
				<input type="hidden" name="typeid" value="1" id="typeid"/>
				<input type="hidden" name="siteid" value="1" id="siteid"/>
                <input	class='search-input' placeholder="输入关键字" name='q'>
            </form>
	</div>
</div> -->